<template>
    <div class="test">
       {{ $store.state.home.num }}
    </div>
</template>

<script>
import {ReqGetBaseCategoryList} from "@/api"
    export default {
        name:"Test",
        methods:{
            async test(){
                let data = await ReqGetBaseCategoryList()
                console.log(data);
            }
        }
    }
</script>

<style lang="less" scoped>
.test{
    background: gainsboro;
    height: 500px;
}
</style>